package com.wct.mall.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wct.mall.mapper.PmsProductCategoryMapper;
import com.wct.mall.domain.PmsProductCategory;

@Service
public class PmsProductCategoryService {

    @Resource
    private PmsProductCategoryMapper pmsProductCategoryMapper;


    public int deleteByPrimaryKey(Integer id) {
        return pmsProductCategoryMapper.deleteByPrimaryKey(id);
    }


    public int insert(PmsProductCategory record) {
        return pmsProductCategoryMapper.insert(record);
    }


    public int insertSelective(PmsProductCategory record) {
        return pmsProductCategoryMapper.insertSelective(record);
    }


    public PmsProductCategory selectByPrimaryKey(Integer id) {
        return pmsProductCategoryMapper.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(PmsProductCategory record) {
        return pmsProductCategoryMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(PmsProductCategory record) {
        return pmsProductCategoryMapper.updateByPrimaryKey(record);
    }

}


